<?php
include "./func/helper.php";
include "./vendor/autoload.php";
include './controller/home.php';
include './controller/jssdk.php';
include "./lib/Wechat.php";
include "./lib/Mobile.php";
include "./lib/Joke.php";
include "./lib/Dream.php";
include "./lib/Talk.php";

$class = isset($_GET['c']) ? $_GET['c'] : 'home';
$active = isset($_GET['a']) ? $_GET['a'] : 'index';
(new $class())->$active();
?>